package com.lq.ecoldchain.ui.mine.user

import org.kodein.di.Kodein
import org.kodein.di.android.support.AndroidLifecycleScope
import org.kodein.di.generic.bind
import org.kodein.di.generic.instance
import org.kodein.di.generic.scoped
import org.kodein.di.generic.singleton

/*
*2018/12/26 0026  18:51
*function by lq
*/
val userKodeinModel = Kodein.Module("User_Activity_Kodein_Model"){

    bind<UserDelegate>() with scoped(AndroidLifecycleScope).singleton {
        UserDelegate(instance())
    }
}